<!-- 这是第一个html -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="box"></div>
    <style>
        .box{
            width: 200px;
            height: 200px;
            background-color: pink;
        }
    </style>
    <script>
        // Set方法数组去重
        const arr=[1,2,5,8,5,7,2,6,3,8];
        const s=[...new Set(arr)];
        console.log(s);
        
        // let str = "study hard and make and progress every day study";
        // let arr =str.split(' ');
        // const s = [...new Set(arr)];
        // document.write(s.join(' '));
    </script>
</body>
</html>